stream {
    upstream samba1 {
        server 10.8.10.70:139;
    }
    upstream samba2 {
        server 10.8.10.70:445;
    }
    upstream diablo2 {
        server 192.168.0.192:4000;
    }
    server {
        listen 192.168.0.145:139;
        proxy_pass samba1;
    }
    server {
        listen 192.168.0.145:445;
        proxy_pass samba2;
    }
    server {
        listen 192.168.0.144:4000;
        proxy_pass diablo2;
    }
}
